Conversation
Collaborator
Author
|
I tried updating the test cache by using the staging API URL, but getting: ╰─$ civicpy update --hard
WARNING:root:Getting all molecular_profiles. This may take a couple of minutes...
WARNING:root:Getting all genes. This may take a couple of minutes...
WARNING:root:Getting all factors. This may take a couple of minutes...
WARNING:root:Getting all fusions. This may take a couple of minutes...
WARNING:root:Getting all variants. This may take a couple of minutes...
Traceback (most recent call last):
File "civicpy/.venv/bin/civicpy", line 10, in <module>
sys.exit(cli())
^^^^^
File "civicpy/.venv/lib/python3.12/site-packages/click/core.py", line 1485, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "civicpy/.venv/lib/python3.12/site-packages/click/core.py", line 1406, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "civicpy/.venv/lib/python3.12/site-packages/click/core.py", line 1873, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "civicpy/.venv/lib/python3.12/site-packages/click/core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "civicpy/.venv/lib/python3.12/site-packages/click/core.py", line 824, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "civicpy/civicpy/cli.py", line 44, in update
civic.update_cache(from_remote_cache=soft, local_cache_path=cache_save_path)
File "civicpy/civicpy/civic.py", line 264, in update_cache
variants = _get_elements_by_ids("variant", allow_cached=False, get_all=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "civicpy/civicpy/civic.py", line 1986, in _get_elements_by_ids
e = _postprocess_response_element(e, element)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "civicpy/civicpy/civic.py", line 2088, in _postprocess_response_element
raise Exception("Variant type {} not supported yet".format(e["__typename"]))
Exception: Variant type RegionVariant not supported yetI tried doing a small workaround in 008ce6b to try to ignore region variants. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #205